package cate.game.role.pay.trademall.oncefund.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBTradeMall;
import cate.game.role.pay.trademall.oncefund.OnceFundAllPO;
import cate.game.role.pay.trademall.oncefund.OnceFundPO;
import easy.java.dev.note.NoteField;

import java.util.Map;

@ClientMsg(title = "交易坊-一次性基金 信息")
public class OnceFundInfoResp implements MsgOutput {
    @NoteField(value = "所有一次性基金信息")
    public Map<Integer, OnceFundPO> fundMap;

    public OnceFundInfoResp() {}

    public OnceFundInfoResp(OnceFundAllPO po) {
        fundMap = po.fundMap;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBTradeMall.TRADE_MALL_ONCE_FUND_INFO_RESP;
    }
}
